
package com.bei_en.teacher.admin.model.regions.vo;

import java.util.*;
import com.bei_en.teacher.admin.model.regions.bean.Regions;
import com.bei_en.teacher.admin.model.BaseVo;
import javax.validation.constraints.*;
import org.hibernate.validator.constraints.*;
import java.math.BigDecimal;

/**
 * 用于前端页面数据传递
 * 
 * @author Guocg
 * @date 2016-10-3 23:27:08
 */
public class RegionsVo extends BaseVo {

    private Regions regions;

    public RegionsVo() {

    this.regions = new Regions();
    }

    public RegionsVo(Regions regions) {

    this.regions = regions;
    }
    
    public Regions getRegions() {

    return this.regions;
    }
    
    public void setRegions(Regions regions) {

    this.regions=regions;
    }

        public Integer getId() {
            return this.regions.getItemId();
        }
        public void setId(Integer id) {
            this.regions.setItemId(id);
        }
        
        public void setItemId(Integer value) {
    	this.regions.setItemId(value);
        }
	
    public Integer getItemId() {
        return this.regions.getItemId();
    }
        
        public void setProvinceId(Integer value) {
    	this.regions.setProvinceId(value);
        }
	@NotNull 
    public Integer getProvinceId() {
        return this.regions.getProvinceId();
    }
        
        public void setCityId(Integer value) {
    	this.regions.setCityId(value);
        }
	@NotNull 
    public Integer getCityId() {
        return this.regions.getCityId();
    }
        
        public void setAreaId(Integer value) {
    	this.regions.setAreaId(value);
        }
	@NotNull 
    public Integer getAreaId() {
        return this.regions.getAreaId();
    }
        
        public void setItemName(String value) {
    	this.regions.setItemName(value);
        }
	@NotBlank @Length(max=64)
    public String getItemName() {
        return this.regions.getItemName();
    }
        
        public void setOrderBy(Integer value) {
    	this.regions.setOrderBy(value);
        }
	
    public Integer getOrderBy() {
        return this.regions.getOrderBy();
    }
        
        public void setAreaCode(String value) {
    	this.regions.setAreaCode(value);
        }
	@NotBlank @Length(max=6)
    public String getAreaCode() {
        return this.regions.getAreaCode();
    }
        
        public void setIsOpened(Boolean value) {
    	this.regions.setIsOpened(value);
        }
	@NotNull 
    public Boolean getIsOpened() {
        return this.regions.getIsOpened();
    }
    


}